import { defineConfig } from "vite";
import uni from "@dcloudio/vite-plugin-uni";
import eslintPlugin from 'vite-plugin-eslint'
import {resolve} from "path"
// https://vitejs.dev/config/
export default defineConfig({
  dts: true,
  resolve:{
		alias:[
			{
				find:"@",
				replacement:resolve(__dirname,'src')
			}
		]
	},
  plugins: [
    uni(),
    eslintPlugin({
      cache: false
    })
  ],
  transpileDependencies: ['luch-request']
});
